Skip to main content

 Folders and files

A explainer on files and folders

Member details configuration

/WEB-INF/config/template/[project]/member/[details].xml

This file can be used to configure additional fields to members of a group.

Overview

Groups can be configured so that members can have up to 15 custom fields associated with their membership. These fields can be used to store additional, arbitrary information.

Details fields are associated with the group membership, not the user directly. So each group can get its own set of fields.

This file can be configured for who can edit or view the fields.

When editing this configuration file in PageSeeder, pressing ctrl-space displays autocomplete options to make editing easier.

Detail field definition

The following table describes the list of attributes for each detail field. By default, the fields in the details form are 100 characters long.

NameDescriptionValueDefault
positionThe position of the field and must be an integer between 1 and 15 Required
nameA field name containing only letters and numbersRequired
titleA user-friendly display name for each field
visibilityDetermines who is allowed to see the field value. Possible values are group, member and managermanager
editableA boolean flag (true or false) determines whether the field is editable by the member through the user interface.false
typeDetermines the form field in the user interface. The default layout supports text and date but other types could be supported. text

Shared details

The details configuration can be shared with other groups with the same owner and the same details name. To enable this feature, set the @shared attribute on the <member-details> element to true.

Sample member details file

Following is a sample file.

<member-details shared="true">
  <field position="1"
         name="org"
         title="Organization"
         editable="true"
         visibility="group"
         type="text" />
  <field position="2"
         name="joined"
         title="Joined organization"
         editable="true"
         visibility="group"
         type="date" />
  <field position="3"
         name="tel"
         title="Telephone"
         editable="true"
         visibility="member"/>
  <field position="4"
         name="code"
         title="Code" 
         editable="false"
         visibility="manager"/>
</member-details>
Created on , last edited on